Skip to content

ci: the release checks the Windows and macOS packages on mainnet before publishing them, and a weekly check of the published release - #119

Merged
EnzinoBB merged 3 commits into
masterfrom
ci/multi-os
Oct 27, 2026
Merged

EnzinoBB merged 3 commits into
masterfrom
ci/multi-os

Conversation

@EnzinoBB

Copy link
Copy Markdown
Collaborator

Summary

First steps of running the CI on Linux, Windows and macOS instead of Linux only.

  • The release checks the Windows and macOS packages before publishing them. platform-sync.yml is callable. release.yml runs it on the packages of its own run (job Platform consensus check): a node of each system restores the published snapshot, syncs mainnet to its head and logs state digests, and a job compares them block by block. Publish the Windows and macOS packages runs only if it passed. The Linux packages are published at once, as before. The manual PUBLISH_PLATFORMS switch is gone. A pull request that touches the packaging still builds the packages only; the check runs for a release and for a manual run.
  • A clean stop is part of the check. Linux and macOS must exit with status 0 and macOS must leave no crash report (the stop of the macOS node crashed until Windows and macOS nodes load Linux checkpoints and sync mainnet with the same digests #115).
  • A weekly check of what users download. A scheduled run (Sunday 05:00 UTC), a manual run without inputs and a platform-sync-* tag take the latest published community release (or tag), download its packages as a user would, check them against SHA256SUMS* and run the same check.
  • A macOS job that finds no runner is cancelled by GitHub after 15 minutes: the release's failed jobs can be run again (Re-run failed jobs), and the job that publishes follows.
  • The notes of the release name the JDK of the Windows and macOS packages (Eclipse Temurin 11).

Test plan

  • platform-sync.yml on the published community.14 (manual run, packages from the release, checksums checked): Linux, Windows and macOS in agreement on 22 blocks, 0 differences, clean stops
  • release.yml from this branch with publish=false: build, packages, platform check (all three systems and the comparison) green, Publish the Windows and macOS packages skipped
  • The first scheduled run

🤖 Generated with Claude Code

EnzinoBB and others added 3 commits October 27, 2026 19:49
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…ly check

- platform-sync.yml is callable: release.yml runs it on the packages of its own run, and publishes the
  Windows and macOS packages only if it passes (the PUBLISH_PLATFORMS switch goes); the Linux packages
  are still published at once
- it can check a published release (a scheduled run on Sundays, a manual run without inputs, a
  platform-sync-* tag): the packages are downloaded as users do and checked against the checksum files
- the comparison also requires a clean stop: Linux and macOS exit with status 0, macOS leaves no
  crash report

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@EnzinoBB
EnzinoBB merged commit d79acc6 into master Oct 27, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant